翻訳と辞書
Words near each other
・ Guardians of the Gate
・ Guardians of the Globe
・ Guardians of the Huai River
・ Guardians of the Laws
・ Guardians of the Lost Code
・ Guardians of the Lost Library
・ Guardians of the Oglala Nation
・ Guardians of the Peace
・ Guardians of the Universe
・ Guardians of Time (Art)
・ Guardians of Time Trilogy
・ Guardians of Time Trilogy universe
・ Guarded
・ Guarded Command Language
・ Guarded logic
Guarded suspension
・ Guardhouse
・ Guardia
・ Guardia (surname)
・ Guardia alla Frontiera
・ Guardia de Asalto
・ Guardia di Finanza
・ Guardia Dushanbe
・ Guardia Lombardi
・ Guardia Mitre
・ Guardia Perticara
・ Guardia Piemontese
・ Guardia Republicana
・ Guardia Sanframondi
・ Guardia Urbana


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Guarded suspension : ウィキペディア英語版
Guarded suspension

In concurrent programming, guarded suspension is a software design pattern for managing operations that require both a lock to be acquired and a precondition to be satisfied before the operation can be executed. The guarded suspension pattern is typically applied to method calls in object-oriented programs, and involves suspending the method call, and the calling thread, until the precondition (acting as a guard) is satisfied.
==Usage==
Because it is blocking, the guarded suspension pattern is generally only used when the developer knows that a method call will be suspended for a finite and reasonable period of time. If a method call is suspended for too long, then the overall program will slow down or stop, waiting for the precondition to be satisfied. If the developer knows that the method call suspension will be indefinite or for an unacceptably long period, then the balking pattern may be preferred.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Guarded suspension」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.